package com.cj.clientsdk;

import cn.hutool.crypto.SecureUtil;
import cn.hutool.crypto.asymmetric.SignAlgorithm;
import cn.hutool.crypto.digest.DigestAlgorithm;
import cn.hutool.crypto.digest.Digester;

/**
 * @author cc
 * @date 2025-03-23 15:14
 **/

public class StringUtils {

    public static String genSign(String body,String secretKey){
        Digester md5 = new Digester(DigestAlgorithm.MD5);
        String content = body +"." + secretKey;
        return md5.digestHex(content);
    }
}
